<template>
<div>
    <query-pan></query-pan>
    <button-bar @add-user="onAddUser"></button-bar>
    <table-pan></table-pan>
    <dlg-add ref="adduser"></dlg-add>
</div>
</template>

<script>
import queryPan from './c_query';
import buttonBar from './c_bntbar';
import tablePan from './c_table';
/* import dlgAdd from './index/d_add';
import dlgEdit from './index/d_edit'; */
export default {
  components:{queryPan,buttonBar,tablePan} ,//,dlgAdd,dlgEdit
  methods:{
      onAddUser(){
          this.$refs['adduser'].Show();
      },
  }
};
</script>